<%--
  Created by IntelliJ IDEA.
  User: Dink
  Date: 2022/1/13
  Time: 10:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>登录页面</title>
</head>
<link href="${pageContext.request.contextPath}/statics/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="${pageContext.request.contextPath}/statics/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<link href="${pageContext.request.contextPath}/statics/vendors/nprogress/nprogress.css" rel="stylesheet">
<!-- Animate.css -->
<link href="https://colorlib.com/polygon/gentelella/css/animate.min.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="${pageContext.request.contextPath}/statics/build/css/custom.min.css" rel="stylesheet">
<link rel="stylesheet" href="${pageContext.request.contextPath}/statics/element-ui/lib/theme-chalk/index.css">
<script src="${pageContext.request.contextPath}/statics/js/vue.js"></script>
<script src="${pageContext.request.contextPath}/statics/element-ui/lib/index.js"></script>
<script src="${pageContext.request.contextPath}/statics/js/axios-0.18.0.js"></script>
<body>
<div>
    <a class="hiddenanchor" id="signup"></a>
    <a class="hiddenanchor" id="signin"></a>

    <div class="login_wrapper">
        <div class="animate form login_form">
            <section class="login_content">
                <c:if test="${who eq 'backend'}">
                    <form action="${pageContext.request.contextPath}/backend/login" method="post">
                        <h1>后台管理系统</h1>
                        <div>
                            <input name="userCode" type="text" class="form-control" placeholder="请输入用户名" required="" />
                        </div>
                        <div>
                            <input name="userPassword" type="password" class="form-control" placeholder="请输入密码" required="" />
                        </div>
                        <div>
                            <span style="font-size: 20px;color: white">${msg}</span>
                            <input class="btn btn-default submit"type="submit" value="登录">
                            <input class="btn btn-default submit" type="reset" value="重置" >
                        </div>

                        <div class="clearfix"></div>

                        <div class="separator">
                            <div class="clearfix"></div>
                            <br />
                            <div>
                                <h1><i class="fa fa-paw"></i> Beyond_platform!</h1>
                                <p>©2022 All Rights Reserved. Beyond_platform! is a Bootstrap 3 template. Privacy and Terms</p>
                            </div>
                        </div>
                    </form>
                </c:if>
                <c:if test="${who eq 'dev'}">
                <form action="${pageContext.request.contextPath}/dev/login" method="post">
                    <h1>手游开发者平台</h1>
                    <div>
                        <input name="devCode" type="text" class="form-control" placeholder="请输入用户名" required="" />
                    </div>
                    <div>
                        <input name="devPassword" type="password" class="form-control" placeholder="请输入密码" required="" />
                    </div>
                    <div>
                        <span style="font-size: 20px;color: white">${msg}</span>
                        <input class="btn btn-default submit"type="submit" value="登录">
                        <input class="btn btn-default submit" type="reset" value="重置" >
                    </div>

                    <div class="clearfix"></div>

                    <div class="separator">
                        <div class="clearfix"></div>
                        <br />
                        <div>
                            <h1><i class="fa fa-paw"></i> Beyond_platform!</h1>
                            <p>©2022 All Rights Reserved. Beyond_platform! is a Bootstrap 3 template. Privacy and Terms</p>
                        </div>
                    </div>
                </form>
                </c:if>
            </section>
        </div>
    </div>
</div>
</body>
</html>
